
import http from '../utils/http'

export const getHomeAPI=()=>{
    return http({
        url:"/model/home/getHome",
        method:"GET"
    })
}

export const showAllModelAPI=()=>{
    return http({
        url:"/model/home/getAllModel",
        method:"GET"
    })
}

export const getModelDetailsAPI=(id:number)=>{
    return http({
        url:"/model/home/getPortfolio/"+id,
        method:"GET"
    })
}

export const showContactAPI=()=>{
    return http({
        url:"/model/home/getContact",
        method:"GET"
    })
}